{:W('Template/top')}
<div class="wrapper clearfix content" style="position: relative;border: 1px solid #ddd">
    {:W('Template/left')}
    <div class="rightbox pull-right">
        <div class="ur-here">您当前的位置：<a href="#">运营商账户余额管理</a>&gt;运营商账户变更记录</div>
        <div class="cTitle2">
            运营商账户变更记录
        </div>
        <in name="Think.session.role_id" value="$operatorData">
            <input type="hidden" class="operatorId" value="{$oid}">

            <div class="status">
                <label>运营商：</label>
                <a class="nav-operator-state nav-operator-state0"
                   href="{:U('Credit/details', array('id' => I('get.id'), 'oid' => 0))}" style="margin-left:5px;">全部
                </a>
                <foreach name="operatorList" item="vo">
                    <a class="nav-operator-state nav-operator-state{$vo.id}"
                       href="{:U('Credit/details', array('id' => I('get.id'), 'oid' => $vo['id']))}">{$vo.display_name}
                    </a>
                </foreach>
            </div>
        </in>

        <table class="cTable table-hover" width="100%">
            <tr>
                <th width='8%'>编号</th>
                <th width='10%'>运营商</th>
                <th width='10%'>明细</th>
                <th width='20%'>用途</th>
                <th width='15%'>金额</th>
                <th width='15%'>余额</th>
                <th width='10%'>备注</th>
                <th width='15%'>操作时间</th>
            </tr>
            <volist name='info' id='v'>
                <tr>
                    <td>{$v.id}</td>
                    <td>{$v.operator_id|getOperatorName}</td>
                    <td>{$v.objectName.tour_name}</td>
                    <td>{$v.action}</td>
                    <td id="money-right" class='text-c5'><dfn>&yen;{$v.amount|GetYuan}</dfn></td>
                    <td class="text-c1">
                        <dfn>&yen;{$v.balance|GetYuan}</dfn>
                    </td>
                    <td class="text-c5">
                        <if condition="$vo['memo'] != ''">
                            {$vo.memo}
                            <else/>
                            无
                        </if>
                    </td>
                    <td>{$v.create_time}</td>
                </tr>
            </volist>
        </table>
        <notempty name="info">
            <div class="pagebox">
                {$page}
            </div>
        </notempty>
    </div>
</div>

{:W('Template/bottom')}
<script src="__PUBLIC__/js/credit.js"></script>
</body>
</html>